/*
 * @Author: your name
 * @Date: 2021-02-27 10:03:01
 * @LastEditTime: 2021-04-21 16:43:47
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /dvr-ui/src/router.js
 */
import search from './components/main-search.vue'
import upload from './components/main-upload.vue'
import videoplay from './components/videoplay.vue'
import showSameVideo from './components/same_video_show.vue'


const routers = [

  {
    path: '/',
    name: "search",
    component: search,

  },
  {
    path: '/video',
    name: "video",
    component: videoplay,
  },
  {
    path: '/upload',
    name: "upload",
    component: upload,
  },
  {
    path: '/sShow', // 此处使用路径id对应url进行查询，其变量就是id了
    name: 'sShow',
    component: showSameVideo,

  }

]
export default routers